package com.carleasoft.mps.exam.business.questions.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 题目选项表
 * </p>
 *
 * @author fan
 * @since 2023-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("e_option")
public class EOption implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 选项编码
     */
    @TableField("OPTION_CODE")
    private String optionCode;

    /**
     * 题目编码
     */
    @TableField("TOPIC_CODE")
    private String topicCode;

    /**
     * 选项
     */
    @TableField("OPTION_TITLE")
    private String optionTitle;

    /**
     * 选项描述
     */
    @TableField("OPTION_DESC")
    private String optionDesc;

    /**
     * 选项图片
     */
    @TableField("OPTION_IMAGE")
    private String optionImage;

    /**
     * 是否正确选项
     */
    @TableField("IS_RIGHT")
    private Integer isRight;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;


}
